package com.powernode.feign;

import com.powernode.domain.Prod;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(name = "product-service")
public interface IndexImgToProdFeign {

    @GetMapping("/prod/prod/info/{prodId}")
    Prod getProdInfo(@PathVariable("prodId") Long prodId);

}
